package com.king.reentrantlock;

/**
 * @author taomk
 * @version 1.0
 * @since 15-2-26 下午10:17
 */
public class ReentrantLockTest {

	public static void main(String [] args) throws InterruptedException {
		Thread first = new ReentrantLockThread("FirstThread");
		Thread second = new ReentrantLockThread("SecondThread");

		first.start();
		second.start();

		Thread.sleep(600);

		// 中断
		second.interrupt();
	}
}
